package com.fqgj.sentry.manage.dao;
import com.fqgj.common.base.BaseMapper;
import com.fqgj.sentry.manage.entity.McGroupManagerEntity;

import java.util.HashMap;
import java.util.List;

/**
* User: ykpbean
* Date: 2017-07-12
* Time: 14:21:02.913
*/

public interface McGroupManagerDao  extends BaseMapper<McGroupManagerEntity> {

    public List<McGroupManagerEntity> selectListByUserId(Long userId);

    public McGroupManagerEntity selectByUserIdAndAppId(HashMap<String, Object> param);

    public Integer deleteByUserId(Long userId);

    List<McGroupManagerEntity> findByRoleId(Long roleId);

    List<McGroupManagerEntity> selectByAppId(Long appId);

}